package com.jrx.anytxn.param.service.billCompare;

import com.jrx.anytxn.common.exception.TxnException;
import com.jrx.anytxn.i18n.response.TxnPage;
import com.jrx.anytxn.param.dto.billCompare.TlThirdBillDetailRes;
import com.jrx.anytxn.param.entity.TlBillTransCompareDetail;
import com.jrx.anytxn.param.entity.TlThirdBillDetail;

import java.util.Date;

/**
 * @Author llk
 * @Date 11:39 上午 星期六 2021/7/17
 **/
public interface ITlThirdBillDetailService {


    /**
     * 根据租户外部渠道号业务日期分页查询
     *
     * @param pageNum
     * @param pageSize
     * @param tenantId
     * @param thordChannel
     * @param busDate
     * @return;
     */
    TxnPage<TlThirdBillDetailRes> findAllPageByTenantId(Integer pageNum, Integer pageSize, String tenantId) throws TxnException;


    TlBillTransCompareDetail findById(String tenantId, String thirdChannel, Long id);

    TlThirdBillDetail findByThirdSeq(String tenantId, String thirdChannel, String seq, String type);

    void updateCompareStatus(String tenantId, String compareStatus, String desc, Long id);

}
